﻿define([
    "dojo/_base/declare"
    , "esri"
    , "dojo/dom-construct"
    , "dojo/dom-style"
  ], function (
    declare
    , esri
    , DomConstructUtils
    , DomStyleUtils
  ) {
      var Div = declare([], {

          constructor: function (geometry) {
              //dojo.mixin(this, options);

              this._element = null;

              this.geometry = geometry;

              this.init();
          }

          , init: function () {
              this._element = DomConstructUtils.create("div", {
                  style: "position: absolute; left: 0px; top: 0px; background-color1:Red;"
              });
              this._element.graphic = this;
              //DomStyleUtils.set(this._element, {
              //    width: "30px",
              //    height: "30px"
              //});
          }

          , getElement: function () {
              return this._element;
          }
      });
      return Div;
  });